import React from 'react';
import { Space, Table, Tag } from 'antd';
import type { TableProps } from 'antd';

interface DataType {
    key: string;
    name: string;
    age: number;
    address: string;
    tags: string[];
}

const columns: TableProps<DataType>['columns'] = [
    {
        title: '行号',
        dataIndex: 'name',
        key: 'name',
        render: (text) => <a>{text}</a>,
    },
    {
        title: '标本',
        dataIndex: 'age',
        key: 'age',
    },
    {
        title: '检验项目组合',
        dataIndex: 'address',
        key: 'address',
    },
    {
        title: '选',
        key: 'tags',
        dataIndex: 'tags'
    },
    {
        title: '检验项目',
        key: 'tags',
        dataIndex: 'tags'
    },
    {
        title: '结果',
        key: 'tags',
        dataIndex: 'tags'
    },
];

const data: DataType[] = [
];

const App: React.FC = () => <Table<DataType> scroll={{ x: 'max-content' }} pagination={false} columns={columns} dataSource={data} />;

export default App;
